package com.taxicalculator.dao;

import android.content.Context;
/**
 * 
 * @author Thomas Maco
 *
 */
public class TaxiCalculatorDAOStub implements ITaxiCalculatorDAO {

	/**
	 * Will find the distance in miles between two locations
	 * @param x location From
	 * @param y location To
	 * @return float miles in between location x and location y
	 * @throws Exception
	 */
	@Override
	public double getDistance(String toAddresse, Context cxt) throws Exception {
		double distance = 24.0;
		return distance;
	}
	
	/**
	 * fetches old From address
	 * @return addresses from location
	 * @throws Exception
	 */
	@Override
	public String getAddress(double latitude, double longitude) {
		String Address = "1243 Main St. Cincinati, Ohio";
		return Address;
	}




}
